package com.dragon.mmochat.message;

import com.dragon.mmochat.MmochatConstant;
import com.skymobi.buffer.SkymobiBuffer;
import com.skymobi.message.SkymobiProtocolMessage;

public class Mmochat_7_21S extends SkymobiProtocolMessage {
	int dealId;
	int money;

	public Mmochat_7_21S() {
		setMsgCode(MmochatConstant.MSGCODE_MMOCHAT_S_7_21);
	}

	@Override
	protected void encodeBody(SkymobiBuffer out) {
		out.putInt(dealId);
		out.putInt(money);
	}

	public void setMoney(int money) {
		this.money = money;
	}

	public void setDealId(int dealId) {
		this.dealId = dealId;
	}

}
